#include <stdio.h>
int main()
{
int n,i;
printf("enter a number\n");
scanf("%d",&n);
for(i=2;i<n;i++)
if(n%i==0)break;
if(i<n)
printf("%dis a prime number\n",n);
else
printf("%dis not aprime number\n",n);
return 0;
}
